// libcore.h : main header file for the libcore DLL
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// ClibcoreApp
// See libcore.cpp for the implementation of this class
//
#include "PlayerSettings.h"

class ClibcoreApp : public CWinApp
{
public:
	ClibcoreApp();
	const LOP_SETTINGS* GetSettings() const		{return m_pAppSettings;}
	void SetSettings(const LOP_SETTINGS* pS)	{m_pAppSettings = pS;}
// Overrides
public:
	virtual BOOL InitInstance();
	DECLARE_MESSAGE_MAP()
private:
	const LOP_SETTINGS* m_pAppSettings;
};


const LOP_SETTINGS& AfxGetAppSettings();
BOOL AfxPostMessage (UINT message, WPARAM wParam = 0, LPARAM lParam = 0);
LRESULT AfxSendMessage (UINT message, WPARAM wParam = 0, LPARAM lParam = 0);
LONGLONG GetPerfCounter (void);
bool IsVista();
bool LoadShaderFile(LPCTSTR lpszName, CStringA& str);
CString GetCodecsPath (void);